package com.zp.system.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zp.common.core.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 科室分组对象 sys_org_dept_group
 *
 * @ author zhang peng
 * @ date 2022-12-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_org_dept_group")
public class SysOrgDeptGroup extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 科室分组
     */
    @TableId(value = "dept_group_id")
    private String deptGroupId;
    /**
     * 科室分组名称
     */
    private String deptGroupName;
    /**
     * 机构id
     */
    private String orgId;
    /**
     * 显示顺序
     */
    private Long orderNum;
    /**
     * 删除标志
     */
    private String delFlag;
    /**
     * 备注
     */
    private String remark;

    /**
     * 选中科室id数组
     */
    @TableField(exist = false)
    private String[] deptIds;

}
